package com.lincoln.entity.permission;

import com.lincoln.entity.BaseEnum;
import com.lincoln.entity.BaseEnumConverter;

public enum UserPermissionTypeEnum implements BaseEnum<Integer> {
    WHITE(0, "白名单"),
    BLACK(1, "黑名单");
    int value;
    String name;

    UserPermissionTypeEnum(int value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static class Convert extends BaseEnumConverter<UserPermissionTypeEnum, Integer> {

    }
}
